include Makefile.common

all: lib example

lib: $(VLTOP)/lib/libvl.so

$(VLTOP)/lib/libvl.so:
	cd $(VLTOP)/lib ; \
	make

example:
	cd $(VLTOP)/example ; \
	make

clean: clean_lib clean_example

clean_lib:
	cd $(VLTOP)/lib ; \
	make clean

clean_example:
	cd $(VLTOP)/example/histogram ; \
	make clean

.PHONY: lib example
